Me and my boy classmate were like hugging and sleeping next to each other. i don't even have a crush on him in real life
Dreams about physical intimacy with someone who you are not currently romantically involved with can often represent a desire for emotional connection and nurturance. The act of hugging and sleeping next to someone in a dream can symbolize a deep desire for security and comfort, which may be lacking in your waking life.
It's also worth noting that dreams often make use of symbolic representations of people and things from our waking lives, rather than being a literal representation of reality. So the fact that your classmate was the person you were hugging and sleeping next to might not necessarily be significant in and of itself.
Overall, this dream could be interpreted as a symbol of your subconscious desire for emotional connection and security. It may be worth reflecting on whether there are areas of your waking life where you feel a lack of connection or support, and considering ways to address those needs.